package util.returnvo;

import vo.UnivVO;

/**
 * 종합학과유닛.
 * 학과유닛 + 리뷰개수 + 총점 및 각 종목 평점 
 */
public class MajorunitReturnVO {
	private int majorunit_no;
	private String majorunit_name;
	private String majorunit_logo;
	private UnivVO univ;
	private int reviewCount;
	private double scoreAvg;
	private double jobAvg;
	private double professorAvg;
	private double facilityAvg;
	private double scholarshipAvg;
	private double awarenessAvg;
	private double recommendAvg;
	private double keepAvg;
	private double genderAvg;
	private double levelAvg;

	public MajorunitReturnVO() {}
	
	public MajorunitReturnVO(int majorunit_no) {
		this.majorunit_no = majorunit_no;
	}

	/**
	 * @param majorunit_no 학과 유닛 no
	 * @param majorunit_name 학과 유닛 이름
	 */
	public MajorunitReturnVO(int majorunit_no, String majorunit_name) {
		this.majorunit_no = majorunit_no;
		this.majorunit_name = majorunit_name;
	}

	/**
	 * @param majorunit_no 학과 유닛 no
	 * @param majorunit_name 학과 유닛 이름
	 * @param majorunit_logo 대학정보
	 */
	public MajorunitReturnVO(int majorunit_no, String majorunit_name,
			String majorunit_logo) {
		this.majorunit_no = majorunit_no;
		this.majorunit_name = majorunit_name;
		this.majorunit_logo = majorunit_logo;
	}

	/**
	 * @param majorunit_no 학과 유닛 no
	 * @param majorunit_name 학과 유닛 이름
	 * @param majorunit_logo 대학정보
	 * @param reviewCount 리뷰수
	 * @param scoreAvg 총점 평균
	 */
	public MajorunitReturnVO(int majorunit_no, String majorunit_name,
			String majorunit_logo, int reviewCount, double scoreAvg) {
		this.majorunit_no = majorunit_no;
		this.majorunit_name = majorunit_name;
		this.majorunit_logo = majorunit_logo;
		this.reviewCount = reviewCount;
		this.scoreAvg = scoreAvg;
	}

	/**
	 * @param majorunit_no 학과 유닛 no
	 * @param majorunit_name 학과 유닛 이름
	 * @param majorunit_logo 대학정보
	 * @param reviewCount 리뷰수
	 * @param scoreAvg 총점 평균
	 * @param jobAvg 취업 평균
	 * @param professorAvg 교수진 평균
	 * @param facilityAvg 시설 평균
	 * @param scholarshipAvg 장학금 평균
	 * @param awarenessAvg 인지도 평균
	 * @param keepAvg 전공 유지 평균
	 */
	public MajorunitReturnVO(int majorunit_no, String majorunit_name,
			String majorunit_logo, int reviewCount, double scoreAvg,
			double jobAvg, double professorAvg, double facilityAvg,
			double scholarshipAvg, double awarenessAvg, double keepAvg) {
		this.majorunit_no = majorunit_no;
		this.majorunit_name = majorunit_name;
		this.majorunit_logo = majorunit_logo;
		this.reviewCount = reviewCount;
		this.scoreAvg = scoreAvg;
		this.jobAvg = jobAvg;
		this.professorAvg = professorAvg;
		this.facilityAvg = facilityAvg;
		this.scholarshipAvg = scholarshipAvg;
		this.awarenessAvg = awarenessAvg;
		this.keepAvg = keepAvg;
	}

	public MajorunitReturnVO(int majorunit_no, String majorunit_name,
			String majorunit_logo, UnivVO univ, int reviewCount,
			double scoreAvg, double jobAvg, double professorAvg,
			double facilityAvg, double scholarshipAvg, double awarenessAvg,
			double recommendAvg, double keepAvg, double genderAvg, double levelAvg) {
		this.majorunit_no = majorunit_no;
		this.majorunit_name = majorunit_name;
		this.majorunit_logo = majorunit_logo;
		this.univ = univ;
		this.reviewCount = reviewCount;
		this.scoreAvg = scoreAvg;
		this.jobAvg = jobAvg;
		this.professorAvg = professorAvg;
		this.facilityAvg = facilityAvg;
		this.scholarshipAvg = scholarshipAvg;
		this.awarenessAvg = awarenessAvg;
		this.recommendAvg = recommendAvg;
		this.keepAvg = keepAvg;
		this.genderAvg = genderAvg;
		this.levelAvg = levelAvg;
	}

	public int getMajorunit_no() {
		return majorunit_no;
	}

	public void setMajorunit_no(int majorunit_no) {
		this.majorunit_no = majorunit_no;
	}

	public String getMajorunit_name() {
		return majorunit_name;
	}

	public void setMajorunit_name(String majorunit_name) {
		this.majorunit_name = majorunit_name;
	}

	public String getMajorunit_logo() {
		return majorunit_logo;
	}

	public void setMajorunit_logo(String majorunit_logo) {
		this.majorunit_logo = majorunit_logo;
	}

	public int getReviewCount() {
		return reviewCount;
	}

	public void setReviewCount(int reviewCount) {
		this.reviewCount = reviewCount;
	}

	public double getScoreAvg() {
		return scoreAvg;
	}

	public void setScoreAvg(double scoreAvg) {
		this.scoreAvg = scoreAvg;
	}

	public double getJobAvg() {
		return jobAvg;
	}

	public void setJobAvg(double jobAvg) {
		this.jobAvg = jobAvg;
	}

	public double getProfessorAvg() {
		return professorAvg;
	}

	public void setProfessorAvg(double professorAvg) {
		this.professorAvg = professorAvg;
	}

	public double getFacilityAvg() {
		return facilityAvg;
	}

	public void setFacilityAvg(double facilityAvg) {
		this.facilityAvg = facilityAvg;
	}

	public double getScholarshipAvg() {
		return scholarshipAvg;
	}

	public void setScholarshipAvg(double scholarshipAvg) {
		this.scholarshipAvg = scholarshipAvg;
	}

	public double getAwarenessAvg() {
		return awarenessAvg;
	}

	public void setAwarenessAvg(double awarenessAvg) {
		this.awarenessAvg = awarenessAvg;
	}

	public double getRecommendAvg() {
		return recommendAvg;
	}

	public void setRecommendAvg(double recommendAvg) {
		this.recommendAvg = recommendAvg;
	}

	public double getGenderAvg() {
		return genderAvg;
	}

	public void setGenderAvg(double genderAvg) {
		this.genderAvg = genderAvg;
	}

	public double getKeepAvg() {
		return keepAvg;
	}

	public void setKeepAvg(double keepAvg) {
		this.keepAvg = keepAvg;
	}
	
	public double getLevelAvg() {
		return levelAvg;
	}

	public void setLevelAvg(double levelAvg) {
		this.levelAvg = levelAvg;
	}
	
	public UnivVO getUniv() {
		return univ;
	}

	public void setUniv(UnivVO univ) {
		this.univ = univ;
	}

	@Override
	public String toString() {
		return "MajorunitReturnVO [majorunit_no=" + majorunit_no
				+ ", majorunit_name=" + majorunit_name + ", majorunit_logo="
				+ majorunit_logo + ", univ=" + univ + ", reviewCount="
				+ reviewCount + ", scoreAvg=" + scoreAvg + ", jobAvg=" + jobAvg
				+ ", professorAvg=" + professorAvg + ", facilityAvg="
				+ facilityAvg + ", scholarshipAvg=" + scholarshipAvg
				+ ", awarenessAvg=" + awarenessAvg + ", recommendAvg="
				+ recommendAvg + ", keepAvg=" + keepAvg + ", genderAvg="
				+ genderAvg + ", levelAvg=" + levelAvg + "]";
	}
}
